<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The source code</title>
  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  <style type="text/css">
    .highlight { display: block; background-color: #ddd; }
  </style>
  <script type="text/javascript">
    function highlight() {
      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
    }
  </script>
</head>
<body onload="prettyPrint(); highlight();">
  <pre class="prettyprint lang-js">&lt;?php
<span id='global-property-'>/**
</span> * Cube PHP Framework
 * 
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.1 (the &quot;License&quot;); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 * 
 * @author Dillen / Steffen
 */

namespace Library\Web;

<span id='Library-Web-WebApplication'>/**
</span> * @class Library.Web.WebApplication
 * 
 * View class
 */
abstract class WebApplication
{
<span id='Library-Web-WebApplication-property-application'>	/**
</span>	 * @property {Library.Application} application
	 * @readonly
	 */
	public $application;
	
<span id='Library-Web-WebApplication-property-sessions'>	/**
</span>	 * Sessions array
	 * 
	 * @property {Library.Web.Sessions} sessions
	 */
	protected $sessions;
	
<span id='Library-Web-WebApplication-property-cookies'>	/**
</span>	 * Cookies array
	 * 
	 * @property {Library.Web.Cookies} cookies
	 */
	protected $cookies;
	
<span id='Library-Web-WebApplication-property-response'>	/**
</span>	 * Response class
	 * 
	 * @property {Library.Web.Response} response
	 */
	protected $response;
	
<span id='Library-Web-WebApplication-property-serverVariables'>	/**
</span>	 * Server variables array
	 * 
	 * @property {Array} serverVariables
	 */
	protected $serverVariables;
	
<span id='Library-Web-WebApplication-method-__construct'>	/**
</span>	 * Constructor
	 *
	 * Set up the web application class
	 * 
	 * @method __construct
	 * @param {Library.Application} $application Application instance
	 */
	public function __construct()
	{		
		$this-&gt;cookies = new Cookies();
		$this-&gt;sessions = new Sessions();
		$this-&gt;response = new Response();
	}
}</pre>
</body>
</html>
